﻿<%@ Page Title="Consulta de Nóminas" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="frmConsultaNomina.aspx.cs" Inherits="UI.Secretaria.frmConsultaNomina" %>
<%@ Register assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" namespace="CrystalDecisions.Web" tagprefix="CR" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
        .style2
        {
            height: 23px;
        }
        .style3
        {}
        .style6
        {
            height: 23px;
            width: 62px;
        }
        .style8
        {
            height: 23px;
            width: 91px;
        }
        .style9
        {
            width: 91px;
        }
        .style10
        {
            height: 23px;
            width: 262px;
        }
        .style12
        {
            height: 23px;
            width: 43px;
        }
        .style13
        {
            width: 43px;
        }
        .style14
        {
            height: 23px;
            width: 123px;
        }
        .style15
        {
            width: 123px;
        }
        .style16
        {
        }
        .style17
        {
            width: 262px;
        }
        .style18
        {
            width: 857px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
   
   
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
<table class="BTabla">
        <tr>
            <td class="style18">
                <table class="style1">
                    <tr>
                        <td class="filaTabla" colspan="9">
                            Consulta de Nóminas</td>
                    </tr>
                    <tr>
                        <td class="style2">
                        </td>
                        <td class="style6">
                        </td>
                        <td class="style14">
                        </td>
                        <td class="style8">
                        </td>
                        <td class="style10">
                        </td>
                        <td class="style12">
                        </td>
                        <td class="style2">
                        </td>
                        <td class="style2">
                        </td>
                        <td class="style2">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;</td>
                        <td class="style16">
                            <asp:Label ID="Label1" runat="server" Text="Semestre"></asp:Label>
                        </td>
                        <td class="style15">
                            <asp:DropDownList ID="ddlSemestre" runat="server" Width="98px">
                            </asp:DropDownList>
                        </td>
                        <td class="style9">
                            <asp:Label ID="Label2" runat="server" Text="Especialidad"></asp:Label>
                        </td>
                        <td class="style17">
                            <asp:DropDownList ID="ddlEspecialidad" runat="server" Width="256px">
                            </asp:DropDownList>
                        </td>
                        <td class="style13">
                            <asp:Label ID="Label3" runat="server" Text="Ciclo" Visible="False"></asp:Label>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlCiclo" runat="server" Width="82px" Visible="False" 
                                Height="16px">
                                <asp:ListItem Value="--TODOS--">--TODOS--</asp:ListItem>
                                <asp:ListItem>1</asp:ListItem>
                                <asp:ListItem>2</asp:ListItem>
                                <asp:ListItem>3</asp:ListItem>
                                <asp:ListItem>4</asp:ListItem>
                                <asp:ListItem>5</asp:ListItem>
                                <asp:ListItem>6</asp:ListItem>
                                <asp:ListItem>7</asp:ListItem>
                                <asp:ListItem>8</asp:ListItem>
                                <asp:ListItem>9</asp:ListItem>
                                <asp:ListItem>10</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                        <td>
                            <asp:Button ID="Button1" runat="server" Height="34px" Text="Buscar" 
                                Width="88px" onclick="Button1_Click" />
                        </td>
                        <td>
                            <asp:Button ID="btnNuevo" runat="server" Height="32px" onclick="btnNuevo_Click" 
                                Text="Nuevo" Width="88px" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;</td>
                        <td class="style16" colspan="4">
                            <asp:Label ID="lblMensaje" runat="server" ForeColor="Red" 
                                style="font-family: Arial"></asp:Label>
                        </td>
                        <td class="style13">
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    <table style="width: 876px">
    <tr>
    <td align="center" class="style3">
        <asp:GridView ID="grvNomina" runat="server" Caption="Listado de Nóminas" 
            AutoGenerateColumns="False" Width="750px" 
            onselectedindexchanged="grvNomina_SelectedIndexChanged" 
            onrowdeleting="grvNomina_RowDeleting" onrowcommand="grvNomina_RowCommand">
            <Columns>
                <asp:BoundField DataField="semestre" HeaderText="Semestre" >
                </asp:BoundField>
                <asp:BoundField DataField="GRUPO" HeaderText="Grupo/Especialidad" >
                <ItemStyle HorizontalAlign="Left" />
                </asp:BoundField>
                <asp:BoundField DataField="ciclo" 
                    HeaderText="Ciclo" >
                </asp:BoundField>
                <asp:CommandField HeaderText="Editar" SelectText="Editar" 
                    ShowSelectButton="True" />
                <asp:TemplateField HeaderText="Confirmar">
                    <ItemTemplate>
                        <asp:LinkButton ID="lnkEliminar" OnClientClick="return confirm('¿Esta seguro de eliminar el registro?');"
                        CommandName="Delete" runat="server">Confirmar</asp:LinkButton>
                        
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
        </asp:GridView>
    </td>
    </tr>
    </table>

    </ContentTemplate>
    </asp:UpdatePanel>
    
</asp:Content>
